<!DOCTYPE html>
<html lang="zh">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta name="viewport" content="width=990, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
        <meta charset="utf-8" />
        <meta name="renderer" content="webkit">
        <title>我的订单_江西电影票网</title>
        <meta name="keywords"/>
        <meta name="description" content="江西电影票网是江西最大的电影票在线选座平台，同时江西电影票网还提供电影排期，影院信息查询、江西本土电影行业资讯等服务。看电影，来江西电影票选座"/>
        <link href="resource/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <link href="resource/css/main.css" rel="stylesheet" />
        <link href="resource/css/style.min.css?v=20180606" rel="stylesheet" />
        
        <script src="resource/js/jquery.1.7.2.min.js" type="text/javascript"></script>
        <script src="resource/js/json2.min.js" type="text/javascript"></script>
        <script src="resource/js/helper.js" type="text/javascript"></script>
        <script src="resource/js/jquery.tool.expose.min.js" type="text/javascript"></script>
        <script src="resource/js/jquery.tool.overlay.min.js" type="text/javascript"></script>
        <script src="resource/js/jquery.tool.tabs.min.js" type="text/javascript"></script>
         
    <link href="resource/css/jquery.jPages.css" rel="stylesheet" />
    <script src="resource/js/jquery.jPages.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $(".my-order-usercenter .status").each(function () {
                var $this = $(this);
                var msg = getMsgStatus($this.attr("data-status"), $this.attr("data-timeshow"), $this.attr("data-timenow"));
                if ($.trim(msg) == "未使用") {
                    $this.addClass("blue");
                    $this.parent().find(".time").removeClass("pt15");
                    if ($this.attr("data-systemname") == "mtx" || $this.attr("data-systemname") == "mtx2") {
                        $this.parent().find(".checkCode").show();
                        $this.parent().find(".remoteOrderNo").show();
                    }else{
                        $this.parent().find(".checkCode").show();
                    }
                }
                if ($.trim(msg) == "待付款") {
                    $this.addClass("red");
                }
                $this.text(msg);
            });
            if ($(".my-order-usercenter").attr("data-ordernum") == "0") {
                $(".my-order-usercenter").addClass("error-orderlist-usercenter");
            }
        });
    </script>

        <script type="text/javascript">
            $(function () {
                $(".bottom-nav li:first").css("margin-left","0");
                $(".bottom-nav li:last").addClass("fn-nobg");
                $(".top-nav .user-name").text(getCookie("NickName") + "(" + getCookie("Mobile") + ")");
                $(".main-nav .location").toggle(function () {
                    $(this).addClass("lsec").find(".other-city").show();
                }, function () {
                    $(this).removeClass("lsec").find(".other-city").hide();
                });
                $(window).scroll(function () {
                    if ($(window).scrollTop() > 100) {
                        $(".nav-scroll").fadeIn(1500);
                    } else {
                        $(".nav-scroll").fadeOut(1500);
                    }
                });
                $(".scroll-top").click(function () {
                    $("html, body").animate({
                        scrollTop: "0px"
                    }, {
                        duration: 500,
                        easing: "swing"
                    });
                    return false;
                });
                $(".nav-scroll .code").hover(function () {
                    $(this).find("span").show();
                }, function () {
                    $(this).find("span").hide();
                });
            });

            function changecity(citycode) {
                if (window.location.toString().indexOf("cinemalist") > -1) {
                    window.location = "/cinemalist/" + citycode + ".html";
                }
                else {
                    document.getElementById("ccitycode").value = citycode;
                    document.getElementById("citycodeform").submit();
                }
            }
        </script>
    </head>
    <body>
        <div class="header">
            <div class="top-nav">
                <div class="container fn-clear">
                      <span class="tip">欢迎来到江西电影票，<span class="user-name"></span><a class="loginout" href="javascript:void(0);">退出</a></span>
                    <ul>
                        <li><a href="/account/usercenter.html" title="个人中心" data-flag="1">个人中心</a></li>
                        <li><a href="/account/userorderlist.html" title="我的订单" data-flag="1">我的订单</a></li>
                        <li><a href="/help/helpindex.html" title="帮助中心" target="_blank">帮助中心</a></li>
                        <li>&nbsp;联系客服：0791-87871177</li>
                    </ul>
                </div>
            </div>
            <div class="main-nav">
                <div class="container fn-clear">
                    <div class="logo"><a href="/"><img src="resource/images/logo.png" alt="江西电影票" title="江西电影票" width="165"/></a></div>
                    <div class="location" data-citycode="360100">
                        <span class="lc">南昌</span>
                        <ul class="other-city">
                            <li><a onclick="changecity('360100')" href="javascript:void(0)">南昌</a></li>
                            <li><a onclick="changecity('360200')" href="javascript:void(0)">景德镇</a></li>
                            <li><a onclick="changecity('360300')" href="javascript:void(0)">萍乡</a></li>
                            <li><a onclick="changecity('360400')" href="javascript:void(0)">九江</a></li>
                            <li><a onclick="changecity('360500')" href="javascript:void(0)">新余</a></li>
                            <li><a onclick="changecity('360600')" href="javascript:void(0)">鹰潭</a></li>
                            <li><a onclick="changecity('360700')" href="javascript:void(0)">赣州</a></li>
                            <li><a onclick="changecity('360800')" href="javascript:void(0)">吉安</a></li>
                            <li><a onclick="changecity('360900')" href="javascript:void(0)">宜春</a></li>
                            <li><a onclick="changecity('361000')" href="javascript:void(0)">抚州</a></li>
                            <li><a onclick="changecity('361100')" href="javascript:void(0)">上饶</a></li>
                        </ul>
                    </div>
                    <ul class="nav-list fn-clear">
                        <li data-index="index"><a href="index.html">首页</a></li>
                        <li data-index="film"><a href="filmshowlist.html">电影</a></li>
                        <li data-index="cinema"><a href="cinemalist.html">影院</a></li>
                       
                        <li data-index="news"><a href="/newslist/newsall_1.html">资讯</a></li>
                        
                    </ul>
                    <div class="box-code-tg">
                        
                        <p class="code">
                            <a href="javascript:void(0);">手机购影票</a>
                            <span class="tag"></span>
                        </p>
                    </div>
                </div>
            </div>
        </div>
        <div id="body" class="main">
                
<div class="wrapper-user-center">
    <div class="container fn-clear">
        <div class="menu-usercenter">
    <ul>
         <li data-i="usercenter">
            <a class="ico-usercenter"  href="usercenter.html">个人中心</a>
            <span class="tag"></span>
        </li>
        <li data-i="userorderlist">
            <a class="ico-useroder" href="userorderlist.html">我的订单</a><span class="numorder">(<em>0</em>)</span>
            <span class="tag"></span>
        </li>
        
        <li data-i="usercomment">
            <a class="ico-usercomment"  href="usercomment.html">我的评论</a>
            <span class="tag"></span>
        </li>
        
        <li data-i="useraccount">
            <a class="ico-account" href="useraccount.html">账户余额</a>
            <span class="tag"></span>
        </li>
        <li data-i="userinfo">
            <a class="ico-userinfo" href="userinfo.html">个人资料</a>
            <span class="tag"></span>
        </li>
    </ul>
</div>
<script type="text/javascript">
    if (getCookie("Append")) {
        var Jxyp_Card = $.parseJSON(getCookie("Append")).Jxyp_Card;
        var Flag = getCookie("Flag");
        if (Jxyp_Card > 0) {
            $(".menu-usercenter .userowncard").removeClass("fn-hide");
        }
        if (Flag == "1") {
            $(".menu-usercenter .usercine").removeClass("fn-hide");
        }
    }
    $(".menu-usercenter li").each(function () {
        if ($(this).attr("data-i") == "userorderlist") {
            $(this).siblings().find(".tag").hide().end().end().addClass("select").find(".tag").show();
        }
    });
</script>
        <div class="box-con my-order-usercenter">
            <div class="th fn-clear">
                <span class="wd1">订单信息 </span>
                <span class="wd2">数量（张）</span>
                <span class="wd2">付款金额（元）</span>
                <span class="wd2">订单状态</span>
                <span class="wd3">操作</span>
            </div>
            <ul id="myOrderListUsercenter">
                    <li class="fn-clear">
                        <div class="film-info wd1">
                            <h3><a href="/filmdetail/3ecf43b8-6b80-4248-a186-38f98a7cfa8d.html" target="_blank">八佰</a></h3>
                            <p class="cinm">耀莱成龙国际影城(八一广场店)</p>
                            <p class="pt15 time">2020-09-01</p>
                            <p class="checkCode">取票码：</p>
                            <p class="remoteOrderNo">取票订单号：8948 0577 0897</p>
                            <span class="pic"><a href="/filmdetail/3ecf43b8-6b80-4248-a186-38f98a7cfa8d.html" target="_blank"><img src="resource/images/20190617110719866001852.jpg" width="72" height="100" alt="八佰" /></a></span>
                        </div>
                        <div class="wd2 pt">1</div>
                        <div class="wd2 pt">34.00</div>
                        <div class="wd2 pt status" data-systemname="topstar" data-status="21" data-timenow="2020-09-01 16:14:32" data-timeshow="2020-09-01 18:25:00"></div>
                        <div class="wd3 pt2 action">
                            <p class="box-btn"><span class="payagain-order btn" data-tag="1" data-OrderNo="11120090116141307962">立即支付</span></p>
                            <p>
                                <a rel="#OrderDetailUserCenter" href="javascript:void(0);" data-status="21" data-timenow="2020-09-01 16:14:32" data-timeshow="2020-09-01 18:25:00" data-filmnname="八佰" data-cinemaname="耀莱成龙国际影城(八一广场店)" data-showtime="2020-09-01 18:25" data-HallName="五号-激光厅" data-num="1" data-type="2D" data-lang="汉语普通话" data-price="34.00" data-total="34.00" data-discount="0" data-pay="34.00" data-SeatInfo="5排3座" data-Mobile="13918621282" data-path="resource/images/20190617110719866001852.jpg" data-CheckCode="" data-SystemName="topstar" data-RemoteOrderNo="8948 0577 0897" data-HaveATM="False" data-OrderNo="11120090116141307962" class="order-datail">详情</a>
                                <a href="javascript:void(0);" class="order-delete" data-OrderNo="11120090116141307962">删除</a>
                            </p>
                        </div>
                    </li>
                
            </ul>
        </div>
    </div>
    <div class="order-detail-usercenter" id="OrderDetailUserCenter">
        <div class="con"></div>
    </div>
</div>

        </div>
        <div class="footer">
            <div class="info-help fn-clear">
                <div class="container">
                    <div class="logo"><img src="resource/images/logo_1.png" alt="江西电影票" /></div>
                    <div class="help-nav">
                        <ul>
                            <li><a href="/help/usehelp.html#chooseat" target="_blank">如何选座</a></li>
                            <li><a href="/help/usehelp.html#dopay" target="_blank">如何支付</a></li>
                            <li><a href="/help/usehelp.html#geticket" target="_blank">如何取票</a></li>
                            <li><a href="/help/usehelp.html#buyfailed" target="_blank">购票失败</a></li>
                            <li><a href="/help/usehelp.html#reglogin" target="_blank">注册登录</a></li>
                            <li><a href="/help/usehelp.html">使用帮助</a></li>
                        </ul>
                    </div>
                    <div class="contact-info">
                        <span>0791-87871177</span>
                    </div>
                    <span class="code"></span>
                </div>
            </div>
            
            <div class="bottom-nav">
                <div class="container fn-clear">
                    <ul>
                        <li><a href="/help/helpindex.html" target="_blank">关于我们</a></li>
                        <li><a href="/help/contactus.html" target="_blank">联系我们</a></li>
                        <li><a href="/help/joinus.html" target="_blank">诚聘英才</a></li>
                        <li><a href="/help/legalstatement.html" target="_blank">法律声明</a></li>
                        <li><a href="/help/serviceterms.html" target="_blank">服务条款</a></li>
                        <li><a href="/help/cooperativepartner.html" target="_blank">合作伙伴</a></li>
                    </ul>
                    <span>经营性ICP：赣B2-20140012&nbsp;&nbsp;<a href="http://www.beian.miit.gov.cn" rel="nofollow" target="_blank">赣ICP备14000663号</a>&nbsp; &copy;江西省影票文化传媒有限公司版权所有</span>
                </div>
            </div>
        </div>
        <div class="verlayLogin" id="verlayLogin">
            <div class="container">
                <h2>&nbsp;</h2>
                <div class="tag">
                    <ul>
                        <li><a href="#"data-tag="2">手机验证码登录</a>/</li>
                        <li><a href="#" data-tag="1">账户登录</a></li>
                    </ul>
                </div>
                <div class="box-form" style="display:block;">
                    <p><input name="telc" class="telc" type="text" maxlength="15" placeholder="手机号" /></p>
                    <div class="img-code-wrap">
                        <div class="img-code"><input name="imgCode" type="text" maxlength="8" placeholder="输入右侧验证码" /></div>
                        <span class="img-code-show"><img src="" width="100%" /></span>
                    </div>
                    <p class="box-checkcode">
                        <input name="checkCode" class="check-code" type="text" maxlength="8" placeholder="输入验证码" />
                        <span class="btn send-checkcode">获取验证码</span>
                    </p>
                </div>

                <div class="box-form">
                    <p><input name="tel" class="tel" type="text" value="手机号" /></p>
                    <p><input name="password" class="pwd bgpwd2" type="password" /></p>
                    <div class="remember-status fn-clear">
                        <label><input type="checkbox" name="rememberStatus" class="rememberst"/>记住密码一周</label>
                    </div>
                </div>
                <div class="login"><p class="btn" id="doLogin">登录</p></div>
                <div class="intro fn-clear">
                    <span class="fn-left"><a href="/forgetpwd.html">忘记密码</a></span>
                    <span class="fn-right"><a href="/register.html">立即注册</a></span>
                </div>
                
            </div>
        </div>
        <div class="nav-scroll">
            <p class="scroll-top"><a href="javascript:void(0);"></a></p>
            <p class="feedback"><a href="/help/feedback.html" target="_blank"></a></p>
            <p class="code">
                <span></span>
            </p>
        </div>
        <script type="text/javascript">
            var linkLogin = "";
            var scrollFunc = function (e) {
                e = e || window.event;
                if (e && e.preventDefault) {
                    e.preventDefault();
                    e.stopPropagation();
                } else {
                    e.returnvalue = false;

                    return false;
                }
            }
            $(".top-nav li a").click(function () {
                if ($(this).attr("data-flag") == 1) {
                    linkLogin = $(this).attr("href");
                    if ("True".toLowerCase() != "true") {
                        $(".boxLogin").overlay({ api: true }).load();
                        return false;
                    }
                }
            });
            $(".img-code-show img").on('click', function () {
                $(this).attr("src", "/account/CheckCode.html?v=" + Math.random());
            });
            $(".main-nav .code a").hover(function () {
                $(this).siblings(".tag").show();
            }, function () {
                $(this).siblings(".tag").hide();
            });
            $(".verlayLogin").keydown(function (e) {
                var curKey = e.which; 
                if (curKey == 13) {
                    $("#doLogin").trigger("click");
                }
            });
            $(".boxLogin").overlay({
                closeOnClick: false,
                top: 'center',
                mask: {
                    color: '#000',
                    closeSpeed: 700,
                    opacity: 0.7
                },
                onBeforeLoad: function (k) {
                    $('body').on('mousewheel', function (e) {
                        scrollFunc(e);
                    });
                },
                onClose: function () {
                    $('body').off('mousewheel');
                }
            });
            var cursec = 60;
            var submiting = false;
            $(".verlayLogin .send-checkcode").click(function () {
                var $this = $(this);
                if (submiting) return false;
                var telc = $.trim($(".verlayLogin .telc").val());
                var imgCode = $.trim($("input[name=imgCode]").val());
                if (!telc) {
                    alert("请输入手机号码！");
                    return;
                }
                if (!imgCode) {
                    alert("请输入图形验证码！");
                    return;
                }
                $.ajax({
                    url: '/account/SendSmsRandom.html',
                    data: { Mobile: telc, ValilCode: imgCode },
                    type: 'post',
                    dataType: 'json',
                    beforeSend: function () {
                        submiting = true;
                        $this.text("正在发送");
                        $this.addClass("disable");
                    },
                    success: function (data) {
                        if (data.ResultCode == "0") {
                            submiting = true;
                            if (cursec < 60) {
                                return;
                            }
                            var timer = setInterval(function () {
                                if (cursec == 60) {
                                    $this.addClass("disable");
                                }
                                $this.text(cursec + "秒后重发");
                                if (cursec == 0) {
                                    window.clearInterval(timer);
                                    submiting = false;
                                    cursec = 60;
                                    $this.text("获取验证码");
                                    $this.removeClass("disable");
                                } else {
                                    cursec--;
                                }
                            }, 1000);
                        } else {
                            $(".img-code-show img").attr("src", "/account/CheckCode.html?v=" + Math.random());
                            submiting = false;
                            alert(data.ErrMsg);
                            $this.removeClass("disable");
                            $this.text("获取验证码");
                        }
                    },
                    error: function () {
                        submiting = false;
                        $this.removeClass("disable");
                        alert("获取验证码失败");
                    }
                });
            });
            $("#verlayLogin input.tel").focus(function () {
                if ($(this).val() == "手机号") {
                    $(this).val("");
                }
            });
            $("#verlayLogin input.tel").blur(function () {
                if ($(this).val() == "") {
                    $(this).val("手机号");
                }
            });
            $("#verlayLogin input.pwd").focus(function () {
                $(this).removeClass("bgpwd2");
            });
            $("#verlayLogin input.pwd").blur(function () {
                if ($(this).val() == "") {
                    $(this).addClass("bgpwd2");
                }
            });
            $("#doLogin").click(function () {
                var tag=$(this).attr("data-tag");
                var tel = $.trim($(".verlayLogin .tel").val());
                var pwd = $.trim($(".verlayLogin .pwd").val());
                var telc = $.trim($(".verlayLogin .telc").val());
                var checkCode = $.trim($(".verlayLogin .check-code").val());
                var isCheckRemember = false;
                if ($(".rememberst").is(':checked')) {
                    isCheckRemember = true;
                }
                if (tag == 1) {
                    if (!tel || tel == "手机号") {
                        alert("请输入手机号码！");
                        return;
                    }
                    if (!pwd) {
                        alert("请输入密码！");
                        return;
                    }
                    postdata = { Mobile: tel, Pass: pwd, Type: tag };
                }
                if (tag == 2) {
                    if (!telc) {
                        alert("请输入手机号码！");
                        return;
                    }
                    if (!checkCode) {
                        alert("请输入验证码！");
                        return;
                    }
                    postdata = { Mobile: telc, Pass: checkCode, Type: tag };
                }
                $.ajax({
                    url: '/account/VerifyMember.html',
                    data: postdata,
                    type: 'post',
                    dataType: 'json',
                    success: function (data) {
                        if (data.ResultCode == "0") {
                            if (isCheckRemember) {
                                SetCookie("LocalToken", data.ErrMsg, 7);
                                SetCookie("LocalMobile", data.Mobile, 7);
                            }
                            setsessionstorage(data);
                            if (linkLogin) {
                                window.location.href = linkLogin;
                            } else {
                                window.location.reload();
                            }
                        } else {
                            alert(data.ErrMsg);
                        } 
                    },
                    error: function () {
                        alert("网络错误,稍后再试！");
                    }
                });
            });
            $(".loginout").click(function () {
                loginout();
            });
            $(".verlayLogin .tag ul").tabs(".verlayLogin .box-form", {
                onClick: function () {
                    $("#doLogin").attr("data-tag", this.getCurrentTab().attr("data-tag"));
                }
            });
            
            function loginout(){
                $.ajax({
                    url: '/account/loginout.html',
                    data: {},
                    type: 'post',
                    dataType: 'json',
                    success: function (data) {
                        if (data.ResultCode == "0") {
                            clearsessionstorage();
                            window.location = "/";
                        } else {
                            alert(data.ErrMsg);
                        }
                    },
                    error: function () {
                        alert("网络错误,稍后再试！");
                    }
                });
            }
            
        </script>
        <form id="citycodeform" method="post" enctype="application/x-www-form-urlencoded"  action="/">
           <input type="hidden"  name="CityCode" id="ccitycode"/>
        </form>
        
    <script type="text/javascript">
        $(".order-datail").overlay({
            closeOnClick: false,
            top: 'center',
            mask: {
                color: '#000',
                closeSpeed: 700,
                opacity: 0.7
            },
            onBeforeLoad: function (t) {
                $('body').on('mousewheel', function (e) {
                    scrollFunc(e);
                });
                var html = "";
                var data = $(t.target);
                var msg = getMsgStatus(data.attr("data-status"), data.attr("data-timeshow"), data.attr("data-timenow"));
                var crashmoney = parseFloat(data.attr("data-crashmoney"));
                crashmoney = crashmoney ? crashmoney : 0;
                html += '<h4>订单详情 · ' + msg + '</h4>';
                html += '<div class="order-detail"><h3>' + data.attr("data-filmnname") + '</h3>';
                html += '<ul><li>影院：' + data.attr("data-cinemaname") + '</li>';
                html += '<li>场次：' + data.attr("data-showtime") + '</li>';
                html += '<li>影厅：' + data.attr("data-hallname") + '</li>';
                html += '<li>数量：' + data.attr("data-num") + '</li>';
                html += '<li>版本：' + data.attr("data-type") + '</li>';
                html += '<li>语言：' + data.attr("data-lang") + '</li>';
                html += '<li>票价：' + data.attr("data-price") + ' 元</li>';
                html += '<li>总价：' + data.attr("data-total") + ' 元</li>';
                html += '<li>优惠：' + parseFloat(parseFloat(data.attr("data-discount")) + crashmoney) + ' 元</li>';
                html += '<li>实付：' + parseFloat(parseFloat(data.attr("data-pay")) - crashmoney).toFixed(2) + ' 元</li>';
                html += '<li>座位：' + data.attr("data-seatinfo") + '</li>';
                html += '<li>手机号：' + data.attr("data-mobile") + '</li></ul>';
                html += '<span class="pic"><img src="' + data.attr("data-path") + '" width="140" height="200" /></span></div>';
                html += '<div class="desc">';
                if (data.attr("data-status") == "9" || data.attr("data-status") == "10") {
                    if (data.attr("data-SystemName") == "mtx" || data.attr("data-SystemName") == "mtx2") {
                        html += '<p class="p2"><span>取票订单号</span><span class="check-code">' + data.attr("data-RemoteOrderNo") + '</span></p>';
                        html += '<p class="p5"><span>取票码</span><span class="check-code">' + data.attr("data-CheckCode") + '</span></p>';
                    } else {
                        html += '<p class="p1"><span>取票码</span><span class="check-code">' + data.attr("data-CheckCode") + '</span></p>';
                    }
                    if (data.attr("data-HaveATM")=="true") {
                        html += '<p class="cor999">请凭取票码至影院自动取票机或前台售票窗口取票</p>';
                    } else {
                        html += '<p class="cor999">请凭取票码至影院前台售票窗口取票</p>';
                    }
                    
                }else if (data.attr("data-status") == "1" || data.attr("data-status") == "3" || data.attr("data-status") == "21") {
                    var tag = 1;
                    if (data.attr("data-status") == "3") tag = 2;
                    html += '<p class="p4"><span class="payagain-order btn" data-tag="' + tag + '" data-OrderNo="' + data.attr("data-OrderNo") + '">立即支付</span></p>';
                } else if (data.attr("data-status") == "31" || data.attr("data-status") == "32") {
                    html += '<p class="p3">失败原因</p>';
                }
                html += '</div>';
                $("#OrderDetailUserCenter .con").html(html);
            },
            onClose: function () {
                $('body').off('mousewheel');
            }
        });
        var sbumit = delet= 1;
        $(".payagain-order").live("click", function () {
            if (sbumit == 1) {
                sbumit = 2;
                $(this).addClass("disable");
                var tag = $(this).attr("data-tag");
                var num = $(this).attr("data-OrderNo");
                if (tag == "1") {
                    window.location.href = "/pay/pay/" + num + ".html";
                } else if (tag == "2") {
                    $.ajax({
                        url: "/pay/PayOnFail.html",
                        data: {
                            OrderNo: num
                        },
                        type: 'post',
                        dataType: 'json',
                        success: function (data) {
                            if (data.ResultCode == "0") {
                                window.location.href = "/pay/pay/" + num + ".html";
                            } else {
                                sbumit = 1;
                                alert('订单支付失败，请稍后再试');
                            }
                        },
                        error: function () {
                            sbumit = 1;
                            alert("网络错误,稍后再试！");
                        }
                    });
                }
            }
        });
        $(".order-delete").click(function () {
            if (delet == 1) {
                delet = 2;
                var OrderNO = $(this).attr("data-OrderNo");
                if (OrderNO && confirm("确定要删除该订单?")) {
                    $.ajax({
                        url: "/pay/DeleteOrder.html",
                        data: {
                            OrderNo: OrderNO
                        },
                        type: 'post',
                        dataType: 'json',
                        success: function (data) {
                            if (data.ResultCode == "0") {
                                $.ajax({
                                    url: "/account/RefreshMemberInfo.html",
                                    type: 'post',
                                    success: function (respData) {
                                        if (respData.ResultCode == "0") {
                                            SetCookie("Append", respData.Append, true);
                                            SetCookie("Account", respData.Account, true);
                                            SetCookie("Balance", respData.Balance, true);
                                            SetCookie("UserCenterDesc", respData.UserCenterDesc, true);
                                            SetCookie("Flag", respData.Flag, true);
                                            var CrashList = respData.CrashList;
                                            var cids = "";
                                            for (var i = 0; i < CrashList.length; i++) {
                                                var CouponID = CrashList[i]["CouponID"];
                                                if (cids == "")
                                                    cids = CouponID;
                                                else
                                                    cids += "," + CouponID;
                                                SetCookie(CouponID, JSON.stringify(CrashList[i]));
                                            }
                                            SetCookie('crashlist', cids, true);
                                            window.location.href = "/account/userorderlist.html";
                                        }
                                    }
                                });
                            } else {
                                delet = 1;
                                alert('删除订单失败，请稍后再试');
                            }
                        },
                        error: function () {
                            delet = 1;
                            alert("网络错误,稍后再试！");
                        }
                    });
                }
            }
        });
        $(".my-order-usercenter .jpage").jPages({
            containerID: "myOrderListUsercenter",
            perPage: 10,
            delay: 30,
            fallback: 200,
            minHeight: false,
            previous: "上一页",
            next: "下一页"
        });
    </script>

      
    </body>
</html>